package com.youkeyi.ddy.cloud.common.api.application.business.crm.customer;

import com.youkeyi.ddy.cloud.common.api.application.business.crm.customer.dto.BusinessCustomerFollowListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.customer.param.BusinessCustomerFollowCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.customer.param.BusinessCustomerFollowDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.customer.param.BusinessCustomerFollowListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.crm.customer.param.BusinessCustomerFollowUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * BusinessCustomerFollowCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/business/customer/follow/fallback")
public class BusinessCustomerFollowCloudServiceFallback implements BusinessCustomerFollowCloudService {

    @Override
    public BusinessCustomerFollowListCloudDto list(BusinessCustomerFollowListCloudParam param) {
        return new BusinessCustomerFollowListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(BusinessCustomerFollowCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(BusinessCustomerFollowUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(BusinessCustomerFollowDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
